package org.thalien.roleplay.guice;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.inject.AbstractModule;

public class GsonModule extends AbstractModule {

	@Override
	protected void configure() {
		GsonBuilder builder = new GsonBuilder();
		builder.setDateFormat("dd-MM-yyyy");
		this.bind(Gson.class).toInstance(builder.create());
	}

}
